/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package SynchronizationLayer;

import TransportLayer.NotaryPacket;
import java.net.InetAddress;
import org.joda.time.DateTime;

/**
 *
 * @author Tomasz Nowak
 */
public class NotarySynchronizationPacket extends NotaryPacket
{
	NotarySynchronizationMessage notarySynchronizationMessage;

	public NotarySynchronizationMessage getNotarySynchronizationMessage()
	{
		return notarySynchronizationMessage;
	}

	public void setNotarySynchronizationMessage( NotarySynchronizationMessage notarySynchronizationMessage )
	{
		this.notarySynchronizationMessage = notarySynchronizationMessage;
	}

	public NotarySynchronizationPacket( NotarySynchronizationMessage notarySynchronizationMessage, InetAddress sourceAddress, int sourcePort )
	{
		super(sourceAddress, sourcePort);
		this.notarySynchronizationMessage = notarySynchronizationMessage;
	}
}
